package com.xinghou.platform.model.main;

import com.xinghou.platform.entity.resp.UserInfoResp;

import java.util.Date;

/**
 * UserInfo entity. @author MyEclipse Persistence Tools
 */

public class UserInfo implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1510324959007408318L;

	// Fields



	private Integer infoId;
	private String nickName;
	private Date birthday;
	private String signature;
	private Integer headId;
	private Long createTime;
	private Long updateTime;
	private Integer regStatus;
	private String ageyear;
	private String intr;
	private String headurl;

	public UserInfoResp toUserInfoResp()
	{
		UserInfoResp resp=new UserInfoResp();
		resp.setIntr(intr);
		resp.setAgeyear(ageyear);
		resp.setHeadurl(headurl);
		resp.setNickname(nickName);
		resp.setSignature(signature);
		return resp;
	}







	public String getHeadurl() {
		return headurl;
	}

	public void setHeadurl(String headurl) {
		this.headurl = headurl;
	}

	public String getIntr() {
		return intr;
	}

	public void setIntr(String intr) {
		this.intr = intr;
	}
	// Constructors

	/** default constructor */
	public UserInfo() {
	}

	// Property accessors

	public Integer getInfoId() {
		return this.infoId;
	}

	public void setInfoId(Integer infoId) {
		this.infoId = infoId;
	}

	public String getNickName() {
		return this.nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getSignature() {
		return this.signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public Integer getHeadId() {
		return this.headId;
	}

	public void setHeadId(Integer headId) {
		this.headId = headId;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public Long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getRegStatus() {
		return regStatus;
	}

	public void setRegStatus(Integer regStatus) {
		this.regStatus = regStatus;
	}
	public String getAgeyear() {
		return ageyear;
	}

	public void setAgeyear(String ageyear) {
		this.ageyear = ageyear;
	}
	

}